package com.nbst.model.mes;

import java.util.Date;

import com.nbst.model.base.OrderBy;

/**
 * 
 * @ClassName:StartWork
 * @Description:StartWork信息
 * @author Ycy
 * @date 2018-11-13
 *
 */
public class StartWork extends OrderBy {
	private Integer id;

	// 开工编号
	private String fCode;

	// 生产任务单id
	private Integer fIcmoId;

	// 物料内码
	private Integer fItemId;

	// 物料代码
	private String fNumber;

	// 物料名称
	private String fName;

	// 派工单id
	private Integer fDisPathId;

	// 设备id
	private String fMacId;

	// 开工人
	private String fWorker;

	// 制单人
	private Integer fBiller;

	// 开工时间
	private Date fDate;

	// 批号
	private String fBatchNo;

	// 流转卡号
	private String cardNo;

	/** 图号 */
	private String fChartNumber;

	// 炉批号
	private String fStoveBatchNo;

	// 关闭标志
	private Integer fClosed;

	// 更新时间
	private Date updateTime;

	// 报工类型 1手动报工 2自动报工
	private Integer fWorkType;

	// 制单人
	private String fBillerName;

	/** 加工说明 */
	private String fNote;

	/** 工序名称 */
	private String fOper;

	/** 员工名 */
	private String fWorkerName;

	/** 设备名 */
	private String fMachine;

	/** 工序号 */
	private Integer fOperSN;

	/** 规格型号 */
	private String fModel;

	/** 派工数 */
	private Double fTargetQty;

	/** 完工状态 */
	private Integer fStatus;

	/** 已完工数量 */
	private Double fQty;

	/** 任务单id */
	private String fBillNo;

	/** 当前质检阶段 0自动质检 1待首检 2待巡检 3待完工检 4已完成完工检 */
	private Integer fQcStatus;

	private Integer fCardId;

	/** 是否为合并工序 0为否 1与2都为是 */
	private Integer fIsMerge;

	/** 是否为合并工序 0为否 1为是 数据库里存的 */
	private Integer fIsOperMerge;

	/** 辅助开工id */
	private Integer fAuxStartWorkId;

	/** 工作中心 */
	private String fDepName;

	/** AGV领料数 */
	private Double fAgvOutQty;

	/** 开工时计数 */
	private Integer fTotal;

	/** 完工单撤销标志 */
	private Integer fRevokeFlag;

	/** 定额 */
	private Double fPieceRate;

	/** 定额折扣 */
	private Double fDiscountPieceRate;

	/** 工作中心id */
	private Integer fWorkcenterId;

	/** 派工时间 */
	private Date fDispatchDate;

	/** 派工人 */
	private Integer fDisBillerId;

	public String getfChartNumber() {
		return fChartNumber;
	}

	public void setfChartNumber(String fChartNumber) {
		this.fChartNumber = fChartNumber;
	}

	public String getfBillerName() {
		return fBillerName;
	}

	public void setfBillerName(String fBillerName) {
		this.fBillerName = fBillerName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getfCode() {
		return fCode;
	}

	public void setfCode(String fCode) {
		this.fCode = fCode == null ? null : fCode.trim();
	}

	public Integer getfIcmoId() {
		return fIcmoId;
	}

	public void setfIcmoId(Integer fIcmoId) {
		this.fIcmoId = fIcmoId;
	}

	public Integer getfItemId() {
		return fItemId;
	}

	public void setfItemId(Integer fItemId) {
		this.fItemId = fItemId;
	}

	public String getfNumber() {
		return fNumber;
	}

	public void setfNumber(String fNumber) {
		this.fNumber = fNumber == null ? null : fNumber.trim();
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName == null ? null : fName.trim();
	}

	public Integer getfDisPathId() {
		return fDisPathId;
	}

	public void setfDisPathId(Integer fDisPathId) {
		this.fDisPathId = fDisPathId;
	}

	public String getfMacId() {
		return fMacId;
	}

	public void setfMacId(String fMacId) {
		this.fMacId = fMacId;
	}

	public String getfWorker() {
		return fWorker;
	}

	public void setfWorker(String fWorker) {
		this.fWorker = fWorker == null ? null : fWorker.trim();
	}

	public Integer getfBiller() {
		return fBiller;
	}

	public void setfBiller(Integer fBiller) {
		this.fBiller = fBiller;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public String getfBatchNo() {
		return fBatchNo;
	}

	public void setfBatchNo(String fBatchNo) {
		this.fBatchNo = fBatchNo == null ? null : fBatchNo.trim();
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo == null ? null : cardNo.trim();
	}

	public String getfStoveBatchNo() {
		return fStoveBatchNo;
	}

	public void setfStoveBatchNo(String fStoveBatchNo) {
		this.fStoveBatchNo = fStoveBatchNo == null ? null : fStoveBatchNo.trim();
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getfWorkType() {
		return fWorkType;
	}

	public void setfWorkType(Integer fWorkType) {
		this.fWorkType = fWorkType;
	}

	public String getfNote() {
		return fNote;
	}

	public void setfNote(String fNote) {
		this.fNote = fNote;
	}

	public String getfOper() {
		return fOper;
	}

	public void setfOper(String fOper) {
		this.fOper = fOper;
	}

	public String getfWorkerName() {
		return fWorkerName;
	}

	public void setfWorkerName(String fWorkerName) {
		this.fWorkerName = fWorkerName;
	}

	public String getfMachine() {
		return fMachine;
	}

	public void setfMachine(String fMachine) {
		this.fMachine = fMachine;
	}

	public Integer getfOperSN() {
		return fOperSN;
	}

	public void setfOperSN(Integer fOperSN) {
		this.fOperSN = fOperSN;
	}

	public Double getfTargetQty() {
		return fTargetQty;
	}

	public void setfTargetQty(Double fTargetQty) {
		this.fTargetQty = fTargetQty;
	}

	public String getfModel() {
		return fModel;
	}

	public void setfModel(String fModel) {
		this.fModel = fModel;
	}

	public Integer getfStatus() {
		return fStatus;
	}

	public void setfStatus(Integer fStatus) {
		this.fStatus = fStatus;
	}

	public Double getfQty() {
		return fQty;
	}

	public void setfQty(Double fQty) {
		this.fQty = fQty;
	}

	public String getfBillNo() {
		return fBillNo;
	}

	public void setfBillNo(String fBillNo) {
		this.fBillNo = fBillNo;
	}

	public Integer getfQcStatus() {
		return fQcStatus;
	}

	public void setfQcStatus(Integer fQcStatus) {
		this.fQcStatus = fQcStatus;
	}

	public Integer getfCardId() {
		return fCardId;
	}

	public void setfCardId(Integer fCardId) {
		this.fCardId = fCardId;
	}

	public Integer getfIsMerge() {
		return fIsMerge;
	}

	public void setfIsMerge(Integer fIsMerge) {
		this.fIsMerge = fIsMerge;
	}

	public Integer getfIsOperMerge() {
		return fIsOperMerge;
	}

	public void setfIsOperMerge(Integer fIsOperMerge) {
		this.fIsOperMerge = fIsOperMerge;
	}

	public Integer getfAuxStartWorkId() {
		return fAuxStartWorkId;
	}

	public void setfAuxStartWorkId(Integer fAuxStartWorkId) {
		this.fAuxStartWorkId = fAuxStartWorkId;
	}

	public String getfDepName() {
		return fDepName;
	}

	public void setfDepName(String fDepName) {
		this.fDepName = fDepName;
	}

	public Double getfAgvOutQty() {
		return fAgvOutQty;
	}

	public void setfAgvOutQty(Double fAgvOutQty) {
		this.fAgvOutQty = fAgvOutQty;
	}

	public Integer getfTotal() {
		return fTotal;
	}

	public void setfTotal(Integer fTotal) {
		this.fTotal = fTotal;
	}

	public Integer getfRevokeFlag() {
		return fRevokeFlag;
	}

	public void setfRevokeFlag(Integer fRevokeFlag) {
		this.fRevokeFlag = fRevokeFlag;
	}

	public Double getfPieceRate() {
		return fPieceRate;
	}

	public void setfPieceRate(Double fPieceRate) {
		this.fPieceRate = fPieceRate;
	}

	public Double getfDiscountPieceRate() {
		return fDiscountPieceRate;
	}

	public void setfDiscountPieceRate(Double fDiscountPieceRate) {
		this.fDiscountPieceRate = fDiscountPieceRate;
	}

	public Integer getfWorkcenterId() {
		return fWorkcenterId;
	}

	public void setfWorkcenterId(Integer fWorkcenterId) {
		this.fWorkcenterId = fWorkcenterId;
	}

	public Date getfDispatchDate() {
		return fDispatchDate;
	}

	public void setfDispatchDate(Date fDispatchDate) {
		this.fDispatchDate = fDispatchDate;
	}

	public Integer getfDisBillerId() {
		return fDisBillerId;
	}

	public void setfDisBiller(Integer fDisBillerId) {
		this.fDisBillerId = fDisBillerId;
	}

	public void setfDisBillerId(Integer fDisBillerId) {
		this.fDisBillerId = fDisBillerId;
	}

	@Override
	public String toString() {
		return "StartWork [id=" + id + ", fCode=" + fCode + ", fIcmoId=" + fIcmoId + ", fItemId=" + fItemId
				+ ", fNumber=" + fNumber + ", fName=" + fName + ", fDisPathId=" + fDisPathId + ", fMacId=" + fMacId
				+ ", fWorker=" + fWorker + ", fBiller=" + fBiller + ", fDate=" + fDate + ", fBatchNo=" + fBatchNo
				+ ", cardNo=" + cardNo + ", fChartNumber=" + fChartNumber + ", fStoveBatchNo=" + fStoveBatchNo
				+ ", fClosed=" + fClosed + ", updateTime=" + updateTime + ", fWorkType=" + fWorkType + ", fBillerName="
				+ fBillerName + ", fNote=" + fNote + ", fOper=" + fOper + ", fWorkerName=" + fWorkerName + ", fMachine="
				+ fMachine + ", fOperSN=" + fOperSN + ", fModel=" + fModel + ", fTargetQty=" + fTargetQty + ", fStatus="
				+ fStatus + ", fQty=" + fQty + ", fBillNo=" + fBillNo + ", fQcStatus=" + fQcStatus + ", fCardId="
				+ fCardId + ", fIsMerge=" + fIsMerge + ", fIsOperMerge=" + fIsOperMerge + ", fAuxStartWorkId="
				+ fAuxStartWorkId + ", fDepName=" + fDepName + ", fAgvOutQty=" + fAgvOutQty + ", fTotal=" + fTotal
				+ ", fRevokeFlag=" + fRevokeFlag + ", fPieceRate=" + fPieceRate + ", fDiscountPieceRate="
				+ fDiscountPieceRate + ", fWorkcenterId=" + fWorkcenterId + ", fDispatchDate=" + fDispatchDate
				+ ", fDisBillerId=" + fDisBillerId + "]";
	}

}